﻿#ifndef CConnectDevDlg_H
#define CConnectDevDlg_H
/********************************************************************************
** @ Date:2025/09/15
** @ Author: HanJiaXin
** @ Description:绑定设备对话框
** @ Version:1.0.0
** @ ClassName:CConnectDevDlg
** @ Fun:
********************************************************************************/
#include <QDialog>
#include <QStandardItemModel>
#include "ui_CConnectDevDlg.h"

class CConnectDevDlg : public QDialog
{
	Q_OBJECT

public:
	CConnectDevDlg(QWidget *parent = nullptr);
	~CConnectDevDlg();

	void setData(QString sDevList);
	QString getDevList();

private:
	void initConnect();//初始化槽函数连接
	void setStyleSheetFile();//设置样式文件
	void initUi();//初始化ui界面

private slots:
	void slotAllCheck();//全选
	void slotDisCheck();//取消全选
	void slotPushButtonOk();//点击确定按钮
	void slotPushButtonClose();//点击关闭按钮

private:
	Ui::CConnectDevDlgClass ui;
	QStandardItemModel* m_pTreeInfoModel;
	QString m_sResult;
};

#endif